//
//  MPDirectoryHelper.h
//  Meng800
//
//  Created by 姚宗超 on 14/7/19.
//  Copyright (c) 2014年 点财网. All rights reserved.
//

#import <Foundation/Foundation.h>

// 系统文件夹宏定义
#define MPDocumentDir [MPDirectoryHelper documentDir]
#define MPLibraryDir [MPDirectoryHelper libraryDir]
#define MPCachesDir [MPDirectoryHelper cachesDir]
#define MPAppSupportDir [MPDirectoryHelper appSupportDir]
#define MPTemporaryDir [MPDirectoryHelper temporaryDir]

// 业务文件夹宏定义
#define MPLogDir [MPDirectoryHelper LogDir]
#define MPChatDir [MPDirectoryHelper chatFileDir]
#define MPPersistDir [MPDirectoryHelper persistDir]
#define MPDBDir [MPDirectoryHelper DBDir]
#define MPPostImageCacheDir [MPDirectoryHelper postImageCacheDir]
#define MPPostImageThumbnailCacheDir [MPDirectoryHelper postImageThumbnailCacheDir]
#define MPGetImageThumbnailCacheDir [MPDirectoryHelper getImageThumbnailCacheDir]
#define MPPostAudioCacheDir [MPDirectoryHelper postAudioCacheDir]
#define MPGetAudioCacheDir [MPDirectoryHelper getAudioCacheDir]


@interface MPDirectoryHelper : NSObject

// app所在的总的bundle文件夹
+ (NSString*)bundleDir;

// document文件夹
+ (NSString*)documentDir;

// Library文件夹
+ (NSString*)libraryDir;

// Library/caches
+ (NSString*)cachesDir;

// Library/applicationSupport
+ (NSString*)appSupportDir;

// tmp文件夹
+ (NSString*)temporaryDir;


// 业务相关文件夹
// Log文件夹
+ (NSString*)LogDir;

// 聊天文件夹
+ (NSString*)chatFileDir;

// 数据库文件夹
+ (NSString*)DBDir;

// 数据存储文件夹
+ (NSString*)persistDir;

// 发送图片缓存文件夹
+ (NSString*)postImageCacheDir;

// 发送图片缩略图缓存文件夹
+ (NSString*)postImageThumbnailCacheDir;

// 收到图片缩略图缓存文件夹
+ (NSString*)getImageThumbnailCacheDir;

// 发送音频文件夹
+ (NSString*)postAudioCacheDir;

// 音频缓存文件夹
+ (NSString*)getAudioCacheDir;

@end
